home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995…tember: Reference Library / Dev.CD Sep 95 RL / Dev.CD Sep 95 RL.toast / mac / Technical Documentation / develop / develop Issue 23 code / Documentary Synchronicity ƒ / Interface ƒ / Support ƒ / About.h next >
Encoding:
C/C++ Source or Header  |  1995-02-04  |  1.3 KB  |  32 lines  |  [TEXT/KAHL]

  1. /*
  2.  * File:              About.c
  3.  * Author:            Mark H. Linton
  4.  * Creation Date:     2/4/95
  5.  * Modification Date: 
  6.  * Description:       A routine which may be used to handle the 
  7.  *                    "About <application name>" item in the apple
  8.  *                    menu.
  9.  */
  10. #ifndef __ABOUT__
  11. #define __ABOUT__
  12.  
  13. /*
  14.  * Routine:           DoAbout
  15.  * Parameters:        anIdentifier - the ID of a DLOG/DITL pair which
  16.  *                    describe the application about box.
  17.  * Returns:           None
  18.  * Description:       This routine accepts the ID of a DLOG/DITL pair
  19.  *                    and displays the dialog as desribed in the
  20.  *                    associated resources in the application resource
  21.  *                    fork. Update events are processed until a mouse
  22.  *                    down or a key down event occurs at which point
  23.  *                    the dialog is hidden. Before disposing of the
  24.  *                    dialog the routine checks to see if the dialog
  25.  *                    contains any picture items. If it does, these
  26.  *                    resources are specifically released (since
  27.  *                    DisposeDialog does not do this, leaving the
  28.  *                    associated resources in memory).
  29.  */
  30. void DoAbout(short anIdentifier);
  31.  
  32. #endif